package com.example.mybatisplusdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplusdemo.entity.User;
import com.example.mybatisplusdemo.vo.UserDTO;
import com.example.mybatisplusdemo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    UserVO selectUserById(Long id);

    List<UserDTO> selectUserDto();
}

